package com.company.test32;

/**
 * Created by v on 16-12-8.
 */
public class Main {
    public static void main(String[] args) {
        Tick tick=new Tick();
        tick.addTickListener(new TickListener() {
            @Override
            public void handleTick(TickEvent e) {
                System.out.println(e.getTickCount());
            }
        });
        tick.setStep(300);
        tick.start();
        while (true){

        }
    }
}
